<%@ Page Language="C#" MasterPageFile="~/Demo.master" AutoEventWireup="true" 
    Inherits="SharpPieces.DemoApp.GradientBtnPostBacks" 
    CodeBehind="gradientbtnpostbacks.aspx.cs" %>

<asp:Content ID="Content2" runat="Server" ContentPlaceHolderID="headPlaceHolder">
    <title>SharpPieces - Gradient Button Postback - Live Demo</title>
</asp:Content>
<asp:Content ID="Content3" runat="Server" ContentPlaceHolderID="descriptionPlaceholder">
    <h1>Gradient Button Postback</h1>
    <p>The Gradient Button works exactly like an ASP.NET button being rendered as an input 
    type button. The ASP.NET post model makes no exception.</p>
</asp:Content>

<asp:Content ID="Content1" ContentPlaceHolderID="demoPlaceholder" Runat="Server">
    <piece:GradientButton ID="GradientButton1" runat="server" 
        OnClientClick="if (!confirm('Do post?')) { return false; }" OnClick="GradientButton1_Click" Width="150px">
        <Text Font="Arial, 10pt" HorizontalAlign="Center" Value="Confirmed Post" VerticalAlign="Center" />
    </piece:GradientButton>
    <asp:Label ID="Label1" runat="server" Text=""></asp:Label>
    <br />
    <piece:GradientButton ID="GradientButton2" runat="server" OnClick="GradientButton2_Click" Width="150px">
        <Text Font="Arial, 10pt" HorizontalAlign="Center" Value="Post" VerticalAlign="Center" />
    </piece:GradientButton>
    <asp:Label ID="Label2" runat="server" Text=""></asp:Label>
</asp:Content>

